package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 项目分类表
 * </p>
 *
 * @author stylefeng
 * @since 2019-09-23
 */
@TableName("biz_business_type_base")
public class BusinessTypeBase extends Model<BusinessTypeBase> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 分类名称
     */
    private String name;
    /**
     * 逻辑删除
     */
    private Integer isDeleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BusinessTypeBase{" +
        "id=" + id +
        ", name=" + name +
        ", isDeleted=" + isDeleted +
        "}";
    }
}
